<include file="public@head_top"/>
</head>
<body class="bgeee">
<include file="public@head"/>
<include file="public@sidebar_head"/>
<div class="newsW">
  <style>
  @media (min-width:992px){
	  .sitemapBlock ul li.list:nth-child(5n) a,.sitemapBlock ul li.list2:nth-child(5n) a{ border-right:none;}
  }
  @media (min-width:576px) and (max-width:991px){
	  .sitemapBlock ul li.list:nth-child(4n) a,.sitemapBlock ul li.list2:nth-child(4n) a{ border-right:none;}
  }
  @media (max-width:575px){
	  .sitemapBlock ul li.list:nth-child(3n) a,.sitemapBlock ul li.list2:nth-child(3n) a{ border-right:none;}
  }
  </style>
  <div class="sitemapBlock">
    <php> $where = [
          'parent_id' => 0,
          'index_num' => [['neq', '自定义区块'],['neq', '自定义配置'],['neq', '自定义插件'],['neq', '自定义扩展'],['neq', '自定义分类']]
          ]; </php>
        <portal:categories order="list_order asc,id asc" where="$where">
    <dl class="st-bora st-borcc st-borr5 st-mb20 st-xd-mb15 st-xm-mb10 st-baccf">
      <dt><a class="st-borb st-disb st-borcc st-pad10 st-fon16 st-posr" href="{:cmf_url('portal/list/index',array('id'=>$vo.id))}">{$vo.name} <i class="fa fa-angle-right st-posa st-top6 st-right10" style="font-size:28px;"></i></a></dt>
      <php>$showtype = 0;</php>
      <php>if($configindex['subcolumn'][$vo['id']]){</php>
      <dd class="st-listBlock st-boxMTop0 st-xd-boxMTop0">
        <ul class="st-flexBox">
          <portal:subcategories key="key" categoryId="$vo.id">
          <php>if($configindex['subcolumn'][$vo['id']])$showtype = 1;</php>
          <php>if($showtype == 1){</php>
          <li class="list1 st-wid100">
          	  <a class="st-pad15 st-disb st-bora st-borcc st-bacce st-bortn st-borln st-borrn st-posr" href="{:cmf_url('portal/list/index',array('id'=>$vo.id))}" title="{$vo.name}">{$vo.name} <i class="fa fa-angle-right st-posa st-top14 st-right10 st-col9" style="font-size:22px;"></i></a>
              <ul class="st-flexBox">
                  <portal:subcategories key="key" categoryId="$vo.id">
                  <li class="list2 st-wid20 st-xd-wid25 st-xm-listBox33"><a class="st-pad15 st-xd-pad10 st-disb st-bora st-borcc st-bortn st-borln" href="{:cmf_url('portal/list/index',array('id'=>$vo.id))}" title="{$vo.name}"  target="_self">{$vo.name}</a></li>
                  </portal:subcategories>
              </ul>
          </li>
          <php>}else{</php>
          <li class="list st-wid20 st-xd-wid25 st-xm-listBox33">
            <a class="st-pad15 st-xd-pad10 st-disb st-bora st-borcc st-bortn st-borln" href="{:cmf_url('portal/list/index',array('id'=>$vo.id))}" title="{$vo.name}">{$vo.name}</a>
          </li>
          <php>}</php>
          </portal:subcategories>
        </ul>
      </dd>
      <php>}</php>
    </dl>
    </portal:categories>
  </div>
</div>
<include file="public@sidebar_foot"/>
<include file="public@footer"/>
</body>    
</html>